<script setup>
import {ref, onMounted, watch, computed} from 'vue';

import {useRoute} from "vue-router";
import AppsMgr from "./apps-mgr.vue";
import AppLayout from './app-layout.vue'

const route = useRoute();

const isLayout = computed(() => {
  return route.params.appId;
})
</script>

<template>
  <AppLayout v-if="isLayout" />
  <AppsMgr v-else />
</template>
